using System;
using System.Collections.Generic;
using System.Text;
using OneSoft.EntityCore;
using BySoft.Server.Common.Schema;

namespace BySoft.Server.Common.Entity
{
[Serializable]
public class BsOrderdetailEntity : EntityBase
{
public BsOrderdetailTable TableSchema
{
get
{
return (BsOrderdetailTable)_tableSchema;
}}

public BsOrderdetailEntity()
{
_tableSchema = BsOrderdetailTable.Current;
}

#region 属性列表

public Decimal? OrderDetailID
{
get { return Convert.ToDecimal(GetData(BsOrderdetailTable.C_ORDERDETAILID)); }
set { SetData(BsOrderdetailTable.C_ORDERDETAILID, value); }
}

public String OrderID
{
get { return Convert.ToString(GetData(BsOrderdetailTable.C_ORDERID)); }
set { SetData(BsOrderdetailTable.C_ORDERID, value); }
}

public Decimal? OrderNum
{
get { return Convert.ToDecimal(GetData(BsOrderdetailTable.C_ORDERNUM)); }
set { SetData(BsOrderdetailTable.C_ORDERNUM, value); }
}

public String ProductID
{
get { return Convert.ToString(GetData(BsOrderdetailTable.C_PRODUCTID)); }
set { SetData(BsOrderdetailTable.C_PRODUCTID, value); }
}

public String CustomerPartNo
{
get { return Convert.ToString(GetData(BsOrderdetailTable.C_CUSTOMERPARTNO)); }
set { SetData(BsOrderdetailTable.C_CUSTOMERPARTNO, value); }
}

public Decimal? Nums
{
get { return Convert.ToDecimal(GetData(BsOrderdetailTable.C_NUMS)); }
set { SetData(BsOrderdetailTable.C_NUMS, value); }
}

public Decimal? Price
{
get { return Convert.ToDecimal(GetData(BsOrderdetailTable.C_PRICE)); }
set { SetData(BsOrderdetailTable.C_PRICE, value); }
}

public Decimal? RMBPrice
{
get { return Convert.ToDecimal(GetData(BsOrderdetailTable.C_RMBPRICE)); }
set { SetData(BsOrderdetailTable.C_RMBPRICE, value); }
}

public Decimal? Amount
{
get { return Convert.ToDecimal(GetData(BsOrderdetailTable.C_AMOUNT)); }
set { SetData(BsOrderdetailTable.C_AMOUNT, value); }
}

public Decimal? TaxAmount
{
get { return Convert.ToDecimal(GetData(BsOrderdetailTable.C_TAXAMOUNT)); }
set { SetData(BsOrderdetailTable.C_TAXAMOUNT, value); }
}

public String WorkOrderNo
{
get { return Convert.ToString(GetData(BsOrderdetailTable.C_WORKORDERNO)); }
set { SetData(BsOrderdetailTable.C_WORKORDERNO, value); }
}

public String IsFinish
{
get { return Convert.ToString(GetData(BsOrderdetailTable.C_ISFINISH)); }
set { SetData(BsOrderdetailTable.C_ISFINISH, value); }
}

#endregion
}
}